home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
texts
/
dosman121
/
man
/
fault
< prev
next >
Wrap
Text File
|
1995-05-19
|
1KB
|
51 lines
Fault(V1.3 in C:) (V2.x/3.x internal)
NAME
Fault - translate numeric error codes to ascii text.
SYNOPSIS
Fault Fault/...
DESCRIPTION
Normally when your Amiga has an error it returns a
requestor telling you what you need to do. Many errors do
not bother to open up this requestor, only a number (for
example, 'Last command failed with error 330). This
command accepts numeric those error codes and turns them
into system error messages, or if the error code is not
defined the numeric code is again displayed.
Translates all the faults into English-lanuage
explanations.
The CLI and Shells (and many programs) call on Fault
to report their errors for them.
In 2.x/3.x this fault code is stored into the
variable 'result 2'.
The AmigaDOS command also does this but may not root
out the exact problem. If the AmigaDOS command WHY does
not satisfy your cuiriosity of what the error was about,
then using Fault directly after it will expound on it.
EXAMPLE
1. To display the error message associated with fault
code 220:
FAULT 220
2. To display the error messages with fault codes
216, 220, and 330:
FAULT 216 220 330